#pragma once

typedef struct tagWinInfo
{
	DWORD	dwProcId;
	HWND	hWnd;
}WinInfo, *PWinInfo;

// CSelProcId dialog

class CSelProcId : public CDialog
{
	DECLARE_DYNAMIC(CSelProcId)

public:
	CSelProcId(CWnd* pParent = NULL);   // standard constructor
	virtual ~CSelProcId();

// Dialog Data
	enum { IDD = IDD_DIALOG1 };

public:
	DWORD GetSelProcId()
	{
		return m_dwProcSel;
	}

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual BOOL OnInitDialog();

	DECLARE_MESSAGE_MAP()

private:
	afx_msg void OnCbnSelChange();

private:
	DWORD		GetQTalkProcess();
	CString		GetListString(DWORD dwProcID);

private:
	CComboBox		m_oComboBox;
	DWORD			m_dwProcSel;
};
